from django.db import models


# Create your models here.


class Grade(models.Model):
    g_name = models.CharField(max_length=10)


class Student(models.Model):
    s_name = models.CharField(max_length=10)
    s_age = models.IntegerField()
    grade = models.ForeignKey(Grade, on_delete=models.CASCADE)


